<?php /* @var $this Controller */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />

	<!-- blueprint CSS framework -->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />
	<!--[if lt IE 8]>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
	<![endif]-->

	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/style.css" />

	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>

<body>

<div class="container" id="page">

	<div id="header">
		<div id="logo"><?php echo CHtml::encode(Yii::app()->name); ?></div>
	</div><!-- header -->

	<div id="mainmenu">
		<?php $this->widget('zii.widgets.CMenu',array(
			'items'=>array(
				array('label'=>'Home', 'url'=>array('/site/index')),
				array('label'=>'About', 'url'=>array('/site/page', 'view'=>'about')),
				array('label'=>'Contact', 'url'=>array('/site/contact')),
				array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
				array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest)
			),
		)); ?>
	</div><!-- mainmenu -->
	
	<?php if(isset($this->breadcrumbs)):?>
		<?php $this->widget('zii.widgets.CBreadcrumbs', array(
			'links'=>$this->breadcrumbs,
		)); ?><!-- breadcrumbs -->
	<?php endif?>

	<?php echo $content; ?>

	<div class="clear"></div>

	<!-- <div id="footer"> -->
		<footer id="footer" class="footer-container">
			<section id="leo-footer-center" class="footer-center">
				<div class="container"> 
					<div class="inner">			
						<div class="row min-hieght">
							<div class="widget col-lg-3 col-md-3 col-sm-6 col-xs-6 col-sp-12">
								aaaaaaaaaaa
							</div>
							<div class="widget col-lg-3 col-md-3 col-sm-6 col-xs-6 col-sp-12">
								bbbbbbbbbbb
							</div>
							<div class="widget col-lg-3 col-md-3 col-sm-6 col-xs-6 col-sp-12">
								cccccccccccc
							</div>
							<div class="widget col-lg-3 col-md-3 col-sm-6 col-xs-6 col-sp-12">
								ddddddddd
							</div>
						</div>
					</div>
				</div>
			</div>
			</section><!-- #footercenter -->
			<section id="leo-footer-bottom" class="footer-bottom">
				<div class="container">
					<div class="inner">
						<div class="row">
							<div class="widget col-lg-2-4 col-md-2-4 col-sm-6 col-xs-12 col-sp-12 content_ct_footer">
								<div class="widget-links block">
									<h4 class="title_block">Information</h4>
									<div class="block_content">
										<div id="tabs664040518" class="panel-group">
											<ul class="nav-links">
												<li><a href="#link1">About Us</a></li>
												<li><a href="#link2">Delivery Information</a></li>
												<li><a href="#link3">Privacy Policy</a></li>
												<li><a href="#link4">Terms &amp; Conditions</a></li>
											</ul>
										</div>
									</div>
								</div>
							</div>
							<div class="widget col-lg-2-4 col-md-2-4 col-sm-6 col-xs-12 col-sp-12 content_ct_footer">
								<div class="widget-links block">
									<h4 class="title_block">Customer  Service</h4>
									<div class="block_content">
										<div id="tabs83577290" class="panel-group">
											<ul class="nav-links">
											  <li><a href="#link1">Contact Us</a></li>
											  <li><a href="#link2">Returns</a></li>
											  <li><a href="#link3">Site Map</a></li>
											  <li><a href="#">Terms &amp; Conditions</a></li>
											</ul>
										</div>
									</div>
								</div>
							</div>
						<div class="widget col-lg-2-4 col-md-2-4 col-sm-6 col-xs-12 col-sp-12 content_ct_footer">
							<div class="widget-links block">
								<h4 class="title_block">Extras</h4>
								<div class="block_content">	
									<div id="tabs1243331646" class="panel-group">
										<ul class="nav-links">	    
										  <li><a href="#link1">Brands</a></li>
										  <li><a href="#link2">Gift Vouchers</a></li>
										  <li><a href="#link3">Affiliates</a></li>
										  <li><a href="#link4">Specials</a></li>
							  			</ul>
							  		</div>
							  	</div>
							</div>
						</div>
						<div class="widget col-lg-2-4 col-md-2-4 col-sm-6 col-xs-12 col-sp-12 content_ct_footer">
						<!-- Block Newsletter module-->
						<div id="newsletter_block_left" class="block inline">
							<h4 class="title_block">newsletter</h4>
							<p class="hidden-xs text-newsletter">Morbi accumsan ipsum velit. Nam nec tellus a odio tincidunt</p>
							<div class="block_content">
								<form action="http://demo4leotheme.com/prestashop/leo_gift_shop_demo/en/" method="post">
									<div class="news-footer clearfix">
										<input class="inputNew newsletter-input form-control" id="newsletter-input" type="text" name="email" size="18" value="Enter your e-mail">
										<input type="submit" value="ok" class="button_mini btn-outline btn button-default" name="submitNewsletter">
										<input type="hidden" name="action" value="0">
									</div>
								</form>
							</div>
						</div><!-- /Block Newsletter module-->
					</div>
					<div class="widget col-lg-2-4 col-md-2-4 col-sm-6 col-xs-12 col-sp-12 content_ct_footer">
						<div id="social_block" class="block">
							<h4 class="title_block">Get social</h4>
							<p class="hidden-xs text-social">Morbi accumsan ipsum velit. Nam nec tellus a odio tincidunt</p>
								<div class="block_content">
									<ul class="links">
										<li class="facebook">
											<a target="_blank" href="http://www.facebook.com/prestashop" data-original-title="Facebook">
												<span>Facebook</span>
											</a>
										</li>
										<li class="twitter">
											<a target="_blank" href="http://www.twitter.com/prestashop" data-original-title="Twitter">
												<span>Twitter</span>
											</a>
										</li>
										<li class="rss">
											<a target="_blank" href="http://www.prestashop.com/blog/en/feed/" data-original-title="RSS">
												<span>RSS</span>
											</a>
										</li>
						        	    <li class="youtube">
							        		<a target="_blank" href="https://www.youtube.com/" data-original-title="Youtube">
							        			<span>Youtube</span>
							        		</a>
							        	</li>
			        	        	    <li class="google-plus">
							        		<a target="_blank" href="https://plus.google.com/" data-original-title="Google Plus">
							        			<span>Google Plus</span>
							        		</a>
							        	</li>
							        </ul>
							    </div>
							</div>
						</div>
					</div>
				</div>
			</div>
			</section><!-- #footerbottom -->
			<section id="footernav" class="footer-nav">
				<div class="container">
					<div class="inner">
						<div class="row">
							<div id="powered" class="col-lg-6 col-md-6 col-sm-12 col-xs-12 col-sp-12">Copyright 2014 Powered by PrestaShop. All Rights Reserved.<br>Developed By <span class="copyright-leotheme">LeoTheme</span>
							</div><!-- #poweredby -->
							<div id="footnav" class="widget col-lg-6 col-md-6 col-sm-12 col-xs-12 col-sp-12">
								<div class="row">
									<div class="widget col-lg-12 col-md-12 col-sm-12 col-xs-12 col-sp-12">
										<div class="widget-html block">
											<div class="block_content">
												<div class="paypal pull-right"><a href="#"><img class="img-responsive" src="/prestashop/leo_gift_shop_demo/themes/leo_giftshop/img/modules/leomanagewidgets/paypal.png" alt="01"></a></div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</section>
		</footer>	
	<!-- </div> --><!-- footer -->

</div><!-- page -->

</body>
</html>
	